import libs from './libs'
import create from './create'
import transModules from './libs/transModules'
import base from './base'
import scrollTo from './scroll-to'
import validate from './validate'

/**
 * 清空对象所有属性
 * @param temp
 */
export function resetTemp(temp) {
  for (let prop in temp) {
    temp[prop] = null
  }
  return temp
}

export default {
  resetTemp,
  create,
  transModules,
  scrollTo,
  ...base,
  ...libs,
  ...validate
}
